<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <meta name="renderer" content="webkit"/>
  <title>${global.getShowMessage()!}</title>
  <base href="${springMacroRequestContext.contextPath}/"/>
  <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
  <link href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"/>
  <link href="//cdn.bootcss.com/animate.css/3.1.1/animate.min.css" rel="stylesheet"/>
</head>
<body class="gray-bg">
<div class="middle-box text-center animated fadeInDown">
  <h1><img src="https://gitee.com/404.png"/></h1>
  <h3 class="font-bold">系统温馨提示：</h3>
  <div class="error-desc">
    <div class="mg-t-10">${message!}</div>
    <input type="button" onclick="returnIndex()" class="btn btn-primary m-t" value="返回首页">
  </div>
</div>
<script src="//yxht-static.oss-cn-shanghai.aliyuncs.com/jquery/2.1.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<#if showStackTrace == 1>
<#--显示错误堆栈，?trace=trace -->
<div>
  <div>${describe!}</div>
  <div>${exception!}</div>
  <pre>
    ${trace!}
  </pre>
</div>
<#else>
<div style="display:none">
  <div>${describe!}</div>
  <div>${exception!}</div>
</div>
</#if>
<script>
  function returnIndex() {
    if (window.location.href === top.location.href) {
      window.location.replace("index.html");
    }
  }
</script>
</body>
</html>